package com.chen.winnerframework.domain.dto.log;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 登录日志 数据传输对象
 *
 * @author chengy
 * @date 2022/11/05
 */
public class LoginLogDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户账号
     */
    @ApiModelProperty("用户账号")
    private String username;

    /**
     * 登录地点
     */
    @ApiModelProperty("登录地点")
    private String location;

    /**
     * 登录状态
     */
    @ApiModelProperty("登录状态（0成功 1失败）")
    private Integer status;

    /**
     * 开始时间
     */
    @ApiModelProperty("开始时间")
    private String beginTime;

    /**
     * 结束时间
     */
    @ApiModelProperty("结束时间")
    private String endTime;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

}
